/*********************************************************
 *
 *  Ports all the way down - patwd
 *  ------------------------------
 *
 *  callbacks.h
 *
 *  Copyright (C) 2012 by Sebastian Roschke (bykhee@gmail.com)
 *
 *  Callback functions for handling a captured packet, i.e.
 *  sending an SYN/ACK after a captured SYN packet.
 *  
 *  Distributed under the terms and conditions of GNU LGPL.
 *
 */

#include "pcap_foo.h"
#include "types.h"

struct libnet_stats* stats;

void handle_packet(u_char *args, const struct pcap_pkthdr *header, const u_char *packet);

void send_ack(u16 src_port, u16 dest_port, u32 seq_num, struct in_addr source, struct in_addr dest);
